//
//  BaseVC.h
//  ZNZ
//
//  Created by  zyn on 15/12/18.
//  Copyright © 2015年 com.znz.demo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataManager.h"
#import "Config.h"
//#import "EncryptionUtil.h"
//#import "Layout.h"
//#import "MJRefresh.h"
#import "UIViewController+HUD.h"
#import "HttpManager.h"
//#import "Constant.h"
//#import "ZNZNavView.h"
//#import "JSONUtil.h"
#import "ViewController.h"


@interface BaseVC : UIViewController{
    DataManager *dataManager;
}
///是否隐藏底部tabbar
@property (nonatomic) BOOL isHidenTabBar;
/* 视图初始化 */
-(void)initializeView;
/* 数据初始化 */
-(void)initializeData;

/* 返回上一个界面 */
-(void)back;

/* 跳转到下一个界面 */
-(void)push:(Class)cls;
-(void)push:(Class)cls bundle:(void (^)(id vc))bundle;

/*  present 一个界面  */
- (void)presentVC:(Class)cls animated:(BOOL)flag completion:(void (^ __nullable)(void))completion NS_AVAILABLE_IOS(5_0);

@end
